import request from '../utils/request'

export function del(ids) {
  return request({
    url: '/member/customer/del/'+ids,
    method: 'post',
  })
}
export function list(params) {
  return request({
    url: '/member/customer/list',
    method: 'get',
    params: params
  })
}

export function find(id){
  return request({
    url:'/member/customer/find/'+id,
    method: 'get',
  })
}

export function save(data){
  return request({
    url:'/member/customer/save',
    method: 'post',
    data:data
  })
}

export function update(data){
  return request({
    url:'/member/customer/update',
    method: 'post',
    data:data
  })
}


